package com.freewater.cargotracker.domain.service;

import com.freewater.cargotracker.domain.model.cargo.Cargo;
import com.freewater.cargotracker.domain.model.cargo.EnterpriseSegment;

/**
 * 防腐层接口（属于领域服务层）
 */
public interface AllocationCheckerService {

    EnterpriseSegment derivedEnterpriseSegment(Cargo cargo);

    boolean mayAccept(Cargo cargo, int quantityBooked);
}
